// 常量列表
export enum nodeTaskTypeValue {
    APPROVE = 'APPROVE',
    SUBMIT = 'SUBMIT'
}

// 组件类型
export enum componentType {
    newComponent = 'BASE',
    historyComponent = 'HISTORY',
    sketchComponent = 'SKETCH'
}

export enum componentName {
    BASE = '基础组件',
    HISTORY = '历史组件',
    AiContainer = 'AiContainer', // 组件组，组合容器
    AiLogin = 'AiLogin' // 登录
}

export enum storageKey {
    storeAccessToken = 'Access-Token',
    storeUid = 'UID',
    storeAppId = 'APPID',
    MICRO_CONFIG = 'micro_config',
    pageSize = 10,
    dataFormat = 'YYYY-MM-DD',
    timeFormat = 'HH:mm:ss',
    copyComponent = 'copyComponent',
    APPLICATION_GROUP_ITEMS = 'APPLICATION_GROUP_ITEMS',
    APPLICATION_GROUP_ITEMS_PREVIEW = 'APPLICATION_GROUP_ITEMS_PREVIEW',
    storeAccessTokenPreview = 'Access-Token-Preview',
    storeUidPreview = 'UID-Preview'
}

export enum keyCodeMap {
    DELETE_CODE = 46
}

export enum serialNumber {
    // 自动计数
    INCREASE_NUMBER = 'INCREASE_NUMBER',
    // 固定字符
    FIXED_CHARS = 'FIXED_CHARS',
    // 日期格式
    DATE = 'DATE',
    // 表单字段
    FORM_FIELD = 'FORM_FIELD'
}
